body, ul, li {
  margin: 0;
  padding: 0;
}

.layer {
  button {
    margin-top: 10px;
    margin-left: 25px;
  }
}

.text-click {
  color: #409EFF;
  cursor: pointer;
}

.text-label {
  color: #ffffff;
}

.black-popover {
  background-color: #1b1e25;
  border: 1px solid #1b1e25;
  color: #ffffff;
  font-size: 12px;

  .popper__arrow {
    border-top-color: #525252 !important;

    &::after {
      content: none;
    }
  }
}

.fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  position: absolute !important;
  left: 0;
  top: 0;
  z-index: 20000 !important;
}

.el-loading-mask {
  z-index: 30000 !important;
}

.el-message-box__wrapper {
  z-index: 20002 !important;

  .box-confirm {
    background-color: #1b1e25;
    border: 1px solid #1b1e25;

    .el-message-box__title, .el-message-box__message {
      color: #fff;
    }

    .el-message-box__btns {
      .el-button--default {
        color: #fff;
        border-color: #859094;
        background-color: transparent;

        &:hover {
          background-color: #000 !important;
        }

        &:last-child {
          color: #409eff;
          border-color: #409eff;
          background-color: transparent;
        }
      }
    }
  }
}

.v-modal {
  opacity: 1;
  z-index: 20001 !important;
}

.el-message {
  z-index: 20002 !important;
}

.black-select {
  border: none;
  background-color: #000000;

  .el-scrollbar {
    .el-select-dropdown__wrap {
      ul {
        li {
          color: #ffffff;

          &:hover, &.hover {
            background-color: #282a2c;
          }
        }
      }
    }
  }
}

.box-property {
  .el-tabs {
    .el-tabs__header {
      margin: 0;

      .el-tabs__nav {
        width: 100%;
        display: flex;

        .el-tabs__item {
          flex-grow: 1;
          padding: 0;
          text-align: center;
          color: #ffffff;

          &.is-active {
            color: #409EFF;
          }
        }
      }
    }
  }

  .el-form {
    .el-form-item {
      &:first-child {
        margin-top: 15px;
      }

      .el-form-item__label {
        width: 120px !important;
        color: #ffffff;
        padding-left: 30px;
        text-align: left;
        box-sizing: border-box;
      }

      .el-form-item__content {
        padding-right: 15px;
        margin-left: 120px !important;

        .el-select {
          width: 100%;
        }

        .el-input, .el-textarea {
          .el-input__inner, .el-textarea__inner {
            border-color: #000;
            border-radius: 0;
            color: #fff;
            background-color: #0f1014;
          }
        }

        .el-input-number {
          width: auto;

          .el-input-number__decrease, .el-input-number__increase {
            border-radius: 0 !important;
            border-color: #333 !important;
            background: transparent;

            i {
              color: #bcc9d4;
            }
          }
        }

        .el-color-picker {
          width: 28px;
          height: 28px;
          margin-left: 4px;

          .el-color-picker__trigger {
            width: 28px;
            height: 28px;
          }
        }

        .image-item {
          border: 1px solid #e6e6e6;
          border-radius: 5px;

          .el-upload {
            width: 100%;
            height: 100%;
            text-align: center;
            color: #a5abb1;

            .el-icon-plus {
              color: #bcc9d4;
            }
          }
        }
      }
    }
  }

  .el-tabs {
    height: 100%;

    .el-tabs__content {
      height: calc(100% - 40px);
      overflow: auto;

      &::-webkit-scrollbar {
        width: 6px;
      }

      &::-webkit-scrollbar-thumb {
        background: hsla(0, 0%, 100%, 0.2);
        border-radius: 5px;
        background-color: #606060;
      }

      .el-tab-pane {
        .el-collapse {
          .el-collapse-item {
            .el-collapse-item__header {
              background-color: transparent;
              color: #ffffff;
              border-bottom: 1px solid #505258;
              padding-left: 20px;
              padding-right: 10px;
              font-size: 12px;
              font-weight: normal;
            }

            .el-collapse-item__wrap {
              background-color: #000;
              border-bottom: 1px solid #505258;

              .el-collapse-item__content {
                color: #ffffff;
                padding-bottom: 0;

                .el-form {
                  .el-form-item {
                    &:first-child {
                      margin-top: 15px;
                    }

                    .el-form-item__label {
                      width: 100px !important;
                      color: #ffffff;
                      padding-left: 25px;
                      font-size: 12px;
                      text-align: left;
                      box-sizing: border-box;
                    }

                    .el-form-item__content {
                      padding-right: 15px;
                      margin-left: 100px !important;

                      .el-input, .el-textarea {
                        .el-input__inner, .el-textarea__inner {
                          border-color: #000;
                          border-radius: 0;
                          color: #fff;
                          background-color: #0f1014;
                        }
                      }

                      .el-input-number {
                        width: auto;

                        .el-input-number__decrease, .el-input-number__increase {
                          border-radius: 0 !important;
                          border-color: #333 !important;
                          background: transparent;

                          i {
                            color: #bcc9d4;
                          }
                        }
                      }

                      .plus-btn {
                        padding-left: 50px;
                      }

                      .el-color-picker {
                        width: 28px;
                        height: 28px;
                        margin-left: 4px;

                        .el-color-picker__trigger {
                          width: 28px;
                          height: 28px;
                        }
                      }

                      .bg-image {
                        width: 180px;
                        height: 100px;
                        border: 1px solid #000;

                        .el-upload {
                          width: 100%;
                          height: 100%;
                          text-align: center;
                          line-height: 100px;

                          .el-icon-plus {
                            color: #bcc9d4;
                          }

                          img {
                            width: 100%;
                            height: 100%;
                          }
                        }
                      }

                      .pictorial-image {
                        width: 32px;
                        height: 32px;
                        border: 1px solid #000;

                        .el-upload {
                          width: 100%;
                          height: 100%;
                        }

                        img {
                          width: 100%;
                          height: 100%;
                        }
                      }
                    }
                  }
                }

                .el-slider {
                  .el-slider__button-wrapper {
                    .el-slider__button {
                      width: 12px;
                      height: 12px;
                    }
                  }
                }

                .el-table {
                  background-color: #000000;

                  &::before {
                    background-color: #000000;
                  }

                  .el-table__cell {
                    padding: 2px 0 0 2px;
                  }

                  .el-table__body {
                    .el-table__row {
                      &:hover {
                        td {
                          &.el-table__cell {
                            background-color: #121111;
                          }
                        }
                      }
                    }
                  }

                  th {
                    &.el-table__cell {
                      background-color: #000000;
                      border-bottom: 1px solid #505258;

                      .cell {
                        color: #ffffff;
                        font-size: 12px;

                        i {
                          display: inline-block;
                          margin-right: 2px;
                          cursor: pointer;
                          color: #409EFF;
                        }
                      }
                    }
                  }

                  td {
                    &.el-table__cell {
                      border-bottom: 1px solid #505258;

                      .cell {
                        color: #ffffff;
                        font-size: 10px;

                        .color-block {
                          width: 25px;
                          height: 25px;
                          border-radius: 5px;
                        }
                      }
                    }

                    &:first-child {
                      .cell {
                        padding-left: 28px;
                      }
                    }
                  }

                  tr {
                    background-color: #000000;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}